for i in range(10):
    print(i)

for i in range(1, 13):
    print(i)

for i in range(1, 12, 2):
    print(i)

a = ['Google', 'baidu', 'huawei']
for i in range(len(a)):
    print(i, a[i])

for i in range(10000000000000):
    print(i)
    if i > 10:
        break


def sum_number(n):
        if n <= 0:
            return 0 
        return n+sum_number(n-1)

sum_number(100)

def add(string, i):
    return lambda: int(string) + i

lis = [x * x for x in range(1, 10)]

print(lis)

lis = []
for i in range(1, 10):
    lis.append(i*i)

print(lis)

tup = tuple(x for x in range(9))
print(tup)
print(type(tup))